package com.zwj.service;

import com.zwj.bean.Cart;
import com.zwj.bean.Order;
import com.zwj.bean.OrderItem;

import java.util.List;

/**
 * @author zwj
 * @create 2021-05-16-10:05
 */
public interface OrderService {
    public String createOrder(Cart cart, Integer userId);
    public List<Order> showMyOrders(Integer userId);
    public List<OrderItem> showOrderDetail(String orderId);
    public List<Order> queryAllOrders();
    public int sendOrder(String orderId);
    public int receiverOrder(String orderId);
}
